﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="interestMeDetail.ascx.cs" Inherits="VISS.Web.Frontend.Modules.User.Profile.InterestMeDetailControl" %>

<% for (int i = 0; i < InterestMeProfiles.Count; i++) { %>
    <div class="interest-detail-box">
        <div class="left">
            <a href="/profile?u=<%=InterestMeProfiles[i].FollowerUserKey %>"><img class="avatar" src="<%=VISS.Web.Frontend.AvatarUtils.GetAvatarThumbPath(InterestMeProfiles[i].AvatarFileName, InterestMeProfiles[i].AvatarImageStoreID, InterestMeProfiles[i].Gender, InterestMeProfiles[i].AvatarStatus) %>" /></a>
            <div class="border"><img src="<%=AppSettings.ResourcesPath %>/images/border-avatar.jpg" /></div>
        </div>
        <div class="middle">
            <div class="item-icon"><img src="<%=AppSettings.ResourcesPath %>/images/icon-light-on.jpg" /></div>
            <a class="name" href="/profile?u=<%=InterestMeProfiles[i].FollowerUserKey %>"><%=InterestMeProfiles[i].Name %></a>
            <div class="item-info"><%=InterestMeProfiles[i].Age %> Tuổi, <%=InterestMeProfiles[i].City %></div>
            <div class="sblast">
                <div class="top">
                    <div class="bd-top"></div>
                    <div class="right-corner"></div>
                </div>
                <div class="body" id="body-content">
                    <div class="comma-top"></div>
                    <div class="comma-bottom"></div>
                    <div class="blast-text">
                        <span id="blast-text"><%=InterestMeProfiles[i].Blast%>&nbsp;</span>
                    </div>
                </div>
                <div class="bottom">
                    <div class="bd-bottom"></div>
                    <div class="right-corner"></div>
                </div>
            </div>
        </div>
        <div class="right">
            <div class="right-item">
                <% if (CanDoAction) { %>
                    <a href="album?u=<%=InterestMeProfiles[i].FollowerUserKey %>" title="Xem hình ảnh của <%=InterestMeProfiles[i].Name %>" ><img src="<%=AppSettings.ResourcesPath %>/images/icon-view-picture.jpg" />Xem Hình</a>
                <% } else { %>
                    <a href="javascript:void(0);" onclick="jAlert(VarifiedAccountRequired);" title="Xem hình ảnh của <%=InterestMeProfiles[i].Name %>" ><img src="<%=AppSettings.ResourcesPath %>/images/icon-view-picture.jpg" />Xem Hình</a>
                <% } %>
            </div>
            <div class="right-item">
                <a href="javascript:void(0);" onclick="SendMessagePopup('<%=InterestMeProfiles[i].FollowerUserKey %>');" title="Gửi tin nhắn cho <%=InterestMeProfiles[i].Name %>" ><img src="<%=AppSettings.ResourcesPath %>/images/icon-send-message.jpg" />Gửi tin nhắn</a>
            </div>
            
            <%--<% if (((VISS.API.Users.EvtNoelUserFollowerEnt)InterestMeProfiles[i]).GoOut) { %>
                <div class="noel-item">
	                    <img src="<%=AppSettings.ResourcesPath %>/images/icon-tet.png" title="<%=InterestMeProfiles[i].Name %> đang tìm bạn cùng đi chơi Tết" />
	            </div>
	        <% } %>--%>
        </div>
    </div>
<%} %>
